package org.jeecg.modules.demo.feign.fallback;

import lombok.Setter;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.demo.feign.client.JeecgFeignDemoClient;


/**
* 接口fallback实现
* 
* @author: scott
* @date: 2022/4/11 19:41
*/
public class JeecgFeignDemoFallback implements JeecgFeignDemoClient {

    @Setter
    private Throwable cause;


    @Override
    public Result<String> getMessage(String name) {
        return Result.error("访问超时！");
    }

}
